package com.lt.service;

import com.lt.entity.Student;
import com.lt.entity.Teacher;

import java.util.List;

/**
 * @Author :liteng
 * @Time : 2023/11/4 16:38
 */
public interface StuAndTeacherService {
    Long addStu(Student student);


    Boolean addStudents(List<Student> students, Long projectId);

    Long addTeacher(Teacher teacher);

    /**
     * 根据学号找到学生
     * @param stuNum
     * @return
     */
    Student findByStuNum(Long stuNum);

    /**
     * 根据教师号找到教师
     * @param teacherNUm
     * @return
     */
    Teacher findByTeacherNum(Long teacherNUm);
}
